#pragma once

#include <string>
#include <vector>

#include <boost\shared_ptr.hpp>

#include "ListItem.h"

class ListModel
{
public:

    typedef boost::shared_ptr<ListItem> ListItemPtr;

    void LoadDir( const std::wstring& dirName );
    void UpdateItem( size_t item );

    const ListItem* GetItem( size_t i ) const;
    int GetCount() const;

protected:

    std::vector<ListItemPtr> items;

};
